package com.jame.basics.integer;

import org.junit.Test;

/**
 * @author : Jame
 * @date : 2021-09-17 21:51
 **/
public class IntegerStudy {

    @Test
    public void test1(){
        Integer i1=20;
        Integer i2 = new Integer(20);
        Integer i4 = new Integer(0);
        int i3=20;
        System.out.println(i1==i2);
        System.out.println(i1==i3);
        System.out.println(i1 == i2 + i4);
    }

}
